package com.tzy.tzyrpcdemoprovider;

import com.tzy.tzyrpccore.annotation.TzyRpcAnnotation;
import com.tzy.tzyrpcdemoapi.Order;
import com.tzy.tzyrpcdemoapi.OrderService;
import org.springframework.stereotype.Service;

/**
 * @author caituxinchu
 */
@Service
@TzyRpcAnnotation
public class OrderServiceImpl implements OrderService {
    @Override
    public Order findById(Integer oid) {
        return new Order(oid,"tzy-order"+System.currentTimeMillis());
    }
}
